<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="Public/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="Public/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <link href="Public/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
	    <link rel="shortcut icon" href="Public/Admin/Flat/img/favicon.ico">
	    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
	    <!--[if lt IE 9]>
	      <script src="dist/js/vendor/html5shiv.js"></script>
	      <script src="dist/js/vendor/respond.min.js"></script>
	    <![endif]-->
	</head>
	<body>
		<table class="table table-hover">
			<tr class="active">
			  <th width="">货品id</th>
			  {{foreach from="$arr" value= "$v"}}
			  <th width="">{{$v[0]['taname']}}</th>
			  {{endforeach}}
			  <th width="">货品号</th>
			  <th width="">货品库存</th>
			  <th width="">操作</th>
			</tr>
 			
		</table>

		<form class="form-inline" style="margin-top: 80px; margin-left:30px;" method="post" action="">
			<div class="form-group">
			{{foreach from="$arr" value="$v"}}
			<div class="form-group">
				<label for="exampleInputEmail1">{{$v[0]['taname']}}</label>
				<select name="combination[]" class="form-control">
					<!--<option value="">请选择</option>-->
					{{foreach from="$v" value="$vv"}}
					<option value="{{$vv['sid']}}" {{if value="$vv['sid']==$oldData1['combination']"}} selected="selected" {{endif}}> {{$vv['sability']}}</option>
					{{endforeach}}
				</select>
			</div>
			{{endforeach}}
			  <div class="form-group">
			    <!-- <label class="sr-only" for="exampleInputEmail3">货品号</label> -->
			   货品号：<input type="text" class="form-control"  name="inb" placeholder="货品号" value="{{$oldData1['inb']}}">
			  </div>
			  <div class="form-group">
			    <!-- <label class="sr-only" for="exampleInputPassword3">货品库存</label> -->
			   货品库存：<input type="text" class="form-control"  name="istore" placeholder="货品库存" value="{{$oldData1['istore']}}" >
			  </div>
			  <!--<input type="hidden" name="commodity_cmid" id="" value="{{Q('get.cmid')}}" />-->
			  <input type="hidden" name="iid" id="" value="{{Q('get.iid')}}" />
			  <button type="submit" class="btn btn-primary">提交</button>
		</form>
	</body>
</html>
